package com.vueblog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 会员用户表
 * @TableName t_member_user
 */
@TableName(value ="t_member_user")
@Data
public class MemberUser implements Serializable {
    /**
     * 会员ID
     */
    @TableId(type = IdType.AUTO)
    private Integer memberId;

    /**
     * 普通用户手机号
     */
    @TableId
    private String userPhone;

    /**
     * 余额
     */
    private Double memberMoney;

    /**
     * 累计消费
     */
    private Double accumulateMoney;

    /**
     * 状态[-1:删除;0:禁用;1启用]
     */
    private Integer memberStatus;

    /**
     * 类别[1:普通会员;2白金会员,3黄金会员
     */
    private Integer memberType;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}